package com.yx.front.enums;

/**
 * @author YangXiong
 */

public enum IntBoolean {
    YES(1,"是"),
    NO(0,"否"),
    ;

    private  final Integer key;
    private final String value;

    public Integer getKey() {
        return key;
    }

    public String getValue() {
        return value;
    }

    IntBoolean(Integer key, String value) {
        this.key = key;
        this.value = value;
    }
}
